/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.audit.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "工作流组织实体类", description = "工作流组织实体类")
public class WorkFlowDepartment {
    @ApiModelProperty(name = "id", value = "id(取实际的部门code)", required = true, dataType = "String")
    private String id;
    @ApiModelProperty(name = "name", value = "部门名称", required = true, dataType = "String")
    private String name;
    @ApiModelProperty(name = "code", value = "部门code", required = true, dataType = "String")
    private String code;
    @ApiModelProperty(name = "description", value = "描述",  dataType = "String")
    private String description;
    @ApiModelProperty(name = "sn", value = "排序号",  dataType = "String")
    private Integer sn;
    @ApiModelProperty(name = "tel", value = "部门联系方式",  dataType = "String")
    private String tel;
    @ApiModelProperty(name = "state", value = "状态",  dataType = "String")
    private Integer state=1;
    @ApiModelProperty(name = "flag", value = "类型",  dataType = "String")
    private Integer flag;
    @ApiModelProperty(name = "shortname", value = "部门简称",  dataType = "String")
    private String shortname;
    @ApiModelProperty(name = "parentId", value = "父级id(取父级部门code)", required = true, dataType = "String")
    private String parentId;
    @ApiModelProperty(name = "parentCode", value = "父级code(取父级部门code)", required = true, dataType = "String")
    private String parentCode;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSn() {
        return sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
}
